Curd operation in realm database